import { FriendStatus } from "@/types/friend.ts";

// 添加我的验证方式
export enum AddCheck {
  any = 1,
  check = 2,
  direct = 3,
}

type IUpdateUserInfo = Partial<Pick<IUser, "name" | "avatar" | "sign" | "bgImage">>;

interface IUser {
  id: number;
  name: string;
  avatar: string;
  CreatedAt: string;
  UpdatedAt: string;
  uuid: string;
  address: string;
  phone: string;
  email: string;
  birthdate: string;
  gender: number;
  account: string;
  sign: string;
  bgImage: string;
  status: FriendStatus;
  quickAskId: number;
  addCheck: AddCheck;
}

export type { IUser, IUpdateUserInfo };
